// 路由
import store  from "vuex";
export const defendRouter=(router)=>{
    router.beforeEach((to, from, next) => {
        // let state = [...mapState]
        // console.log(this.$store)
        next()
      })
}